package com.ross.mode.food;

import com.ross.mode.fruit.FruitInterface;

/**
 * @version 1.0.0
 * @className: MilkImpl
 * @description:
 * @author: zhangjunfa
 * @date: 2023/4/4 16:45
 */
public class MilkImpl extends FoodAbstract {
    public MilkImpl(FruitInterface fruitInterface) {
        super(fruitInterface);
    }

    @Override
    public void add() {
        fruitInterface.addFruit("牛奶");
    }
}
